<template>
  <el-form :model="model" ref="parkingForm"  :rules="dwForm" label-width="72px" :label-position="'left'" :inline="true" >
    <el-row class="search-title">条件搜索</el-row>
    <el-row>
      <el-form-item prop="account_place" label="车牌号">
        <el-input  class="" placeholder="车牌号"  clearable></el-input>
      </el-form-item>
      <el-form-item> <el-button class="btn-search" type="primary">搜索</el-button></el-form-item>
    </el-row>
    <collapse-vertical>
      <div v-show="isDisplay">
    <el-row>
      <el-form-item prop="account_place" label="停车场名称">
        <el-input  class="" placeholder="停车场名称"  clearable></el-input>
      </el-form-item>
    </el-row>
    <el-row>
        <el-form-item prop="auditstate" label="车辆类型" >
          <el-radio-group v-model="model.auditstate" size="small">
            <el-radio   v-for="item in auditstates" :label="item.id" >{{item.value}}</el-radio>
          </el-radio-group>
        </el-form-item>
      <el-form-item>
        <el-button class="btn-mini-form"
                   size="mini" >提交
        </el-button>
        <el-button class="btn-mini-form"
                   size="mini" >重置
        </el-button>
      </el-form-item>
    </el-row>
      </div>
    </collapse-vertical>
    <el-row style="text-align: center"><el-button style="border: none;background-color: transparent" size="small" @click="isShow" :icon="isDisplay?'el-icon-arrow-up':'el-icon-arrow-down'">
    </el-button></el-row>
  </el-form>
</template>

<script>
  /* eslint-disable */
    export default {
        name: "jscar-form",
      data (){
          return {
            isDisplay: false,
            auditstates:[
              {id:"1", value:"黄牌车"},
              {id:"1", value:"蓝牌车"},
              {id:"1", value:"新能源车"},
            ],
            model:{}
          }
      },
      methods:{
        isShow(){
          this.isDisplay =!this.isDisplay
        }
      }
    }
</script>

<style scoped>

</style>
